home *** CD-ROM | disk | FTP | other *** search
- Path: news.dadd.ti.com!newsmgrs@dadd.ti.com
- From: Sudheer Vemulapalli <sudheer@dadd.ti.com>
- Newsgroups: comp.lang.c
- Subject: File Size!
- Date: 22 Jan 1996 22:06:41 GMT
- Organization: Texas Instruments
- Message-ID: <4e11ph$733@hammerhead.dadd.ti.com>
- NNTP-Posting-Host: roadrunner.dadd.ti.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (X11; I; SunOS 5.3 sun4m)
- X-URL: news:comp.lang.c?ALL
-
- Hello Netters,
-
- Is there a simple way to find the exact size of a file. I would like to know of
- a way to do it other than using ls -l and getting the size field from the
- output. If there is a UNIX system call or somefunction that returns the file
- size please let me know.
-
- Thankx in advance.
-
- --
- Sudheer K. Vemulapalli
-
-